import graph.graph as gt

if __name__ == '__main__':
    V = {'a', 'b', 'c'}
    E = {(3, 'a', 'a'), (8, 'b', 'c')}
    [d, di, do] = gt.degreesetw(V ,E)
    print(d)